package com.thread.threadfirst.javaBase.classLoader;

import java.util.Date;

public class Role {
    private Long Id;
    private Integer gold;
    private String nick;
    private Date createTime;

    public Long getId() {
        return Id;
    }

    private Role role;

    public void setId(Long id) {
        Id = id;
    }

    public Integer getGold() {
        return gold;
    }

    public void setGold(Integer gold) {
        this.gold = gold;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void serRole(Object role){
        this.role = (Role) role;
    }

}
